package com.todod.base.module.infra.controller.admin.baseofficialletter.vo;

import com.todod.base.module.infra.dal.dataobject.baseofficialletter.BaseOfficialLetterDetailDO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 公函新增/修改 Request VO")
@Data
public class BaseOfficialLetterDetailsSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long id;

    @Schema(description = "公函管理id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long officialLetterId;

    @Schema(description = "明细子表数据", example = "测试")
    private List<BaseOfficialLetterDetailDO> detailData;

}